package com.mes.cloud.api.dto.request.productpricegroup;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.NotEmpty;

import javax.persistence.*;

/**
 * 产品客户组
 * 
 * @author wxm
 * @version 2019-09-24 14:49:07
 * @email xiaomin.wu1@pactera.com
 */
@Data
public class ProductCustomerGroupAddRequest implements Serializable{
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "名称", required = true)
    @NotEmpty(message = "name不能为空")
    private String name;

    @ApiModelProperty(value = "备注", required = false)
    private String remark;

    @ApiModelProperty(value = "类型", required = true)
    @NotEmpty(message = "type不能为空")
    private String type;
}
